package com.my.bean;

import android.os.Parcelable;

import java.io.Serializable;

/**
 * @auther: 小鸥
 * @date:
 * @time: 15:41
 * @package: com.my.bean
 * @project_name: My Note
 */
public class Note implements Serializable {
    //标题
    private String title;
    //内容
    private String content;
    //创建时间
    private String create;
    //数据库中查找和更新需要用到的id
    private String id;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getCreate() {
        return create;
    }

    public void setCreate(String create) {
        this.create = create;
    }

    @Override
    public String toString() {
        return "Note{" +
                "title='" + title + '\'' +
                ", content='" + content + '\'' +
                ", create='" + create + '\'' +
                ", id='" + id + '\'' +
                '}';
    }
}
